package com.zg.common.core.dao.scf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zg.common.core.dao.BaseEntity;
import com.zg.common.core.dao.ConditionType;
import com.zg.common.core.dao.QueryCondition;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * DESCRIPTION
 *
 * @author zhanfeng.liang
 * @since 2025-07-24
 */
@Data
@TableName("img_condition")
public class ImgCondition extends BaseEntity {

    @QueryCondition(type = ConditionType.EQ)
    private Long categoryId;

    private String operator;

    private String item;

    private BigDecimal value;

    private String direction;

    private String source;


    @TableField(exist = false)
    @QueryCondition(type = ConditionType.IN,filed = "categoryId")
    private List<Long> categoryIds;

}
